package com.es.designmode.state;

/**
 * 通过把各种状态转移逻辑分布到State的子类之间，减少相互间的依赖
 *
 * @author Will
 */
public class ConcreteStateA extends State {

    @Override
    public void handle(Context context) {
        context.setState(new ConcreteStateB());
    }
}
